part of _;

extension on ShowPicturePage {
  void controller_save() async {
    yShowProgress();
    await DesktopMultiWindow.invokeMethod(0, "saveFile", {
      "url": pictures[index],
    });
    yDismissProgress();
    yToast("图片已保存到下载目录");
  }
}
